package com.zxn.kotlin.testfor

fun main() {
    for (i in (17 - 3) downTo 0 step 2) {
        println(i)
    }
}
//fun main() {
//    for (index in 100 downTo 0 step 2) {
//        println(index)
//    }
//}

//fun main() {
//    for (index in 100 downTo 0){
//        println(index)
//    }
//}

//fun main() {
//    var currentPathIndex: Int = 7
//    println(currentPathIndex)
//    currentPathIndex++
//    currentPathIndex %= 8
//    println(currentPathIndex)
//}

//fun main() {
//    println(0 % 8)
//    println(1 % 8)
//    println(5 % 8)
//}

//fun main() {
//    for (i in 0 until 5) {
//        println(i)
//    }
//}